/*
 * "PROXY proxy.uku.im:8888"
 *   
 * 
 */
function _check_regex_list(i,o){var c;for(c=0;c<i.length;c++)if(i[c].test(o))return!0;return!1}
function _check_patterns(i,o,c,p){return i.hasOwnProperty(o)&&_check_regex_list(i[o],c.slice(p+o.length))?!0:_check_regex_list(i.any,c.slice(p))?!0:!1}
function _find_proxy(i,o,c,p){return _check_patterns(i.white,o,c,p)?"DIRECT":_check_patterns(i.proxy,o,c,p)?_proxy_str:"DIRECT"}
function FindProxyForURL(i,o){
    var PROXY_tt = "PROXY proxy.ttdianshi.com:8002";
    var PROXY_unblock = "PROXY proxy.uku.im:8888";
    if(/trailers\.apple\.com/i.test(i)) return PROXY_tt;
    var c=i.slice(0,6);
    return "http:/"===c?_find_proxy(_http_map,o,i,7):"https:"===c?_find_proxy(_https_map,o,i,8):"DIRECT";
}
var _http_map={white:{any:[/^[^/]*\/ipad\?file=\//i]},proxy:{any:[/^[^/]*\.dpool\.sina\.com\.cn\/iplookup/i,/^[^/]*\/vrs_flash\.action/i,/^[^/]*\/\?prot=2&type=1/i,/^[^/]*\/\?prot=2&file=\//i],"v.youku.com":[/^\/player\//i],"api.youku.com":[/^\/player\//i],"v2.tudou.com":[/^\//i],"www.tudou.com":[/^\/a\//i,/^\/v\//i,/^\/outplay\/goto\/getTvcCode/i,/^\/tvp\/alist\.action/i],"s.plcloud.music.qq.com":[/^\/fcgi\-bin\/p\.fcg/i],"hot.vrs.sohu.com":[/^\//i],"live.tv.sohu.com":[/^\/live\/player/i],"pad.tv.sohu.com":[/^\/playinfo/i],"my.tv.sohu.com":[/^\/play\/m3u8version\.do/i],"hot.vrs.letv.com":[/^\//i],"data.video.qiyi.com":[/^\/v\./i],"cache.video.qiyi.com":[/^\/vms\?/i],"cache.vip.qiyi.com":[/^\/vms\?/i],"61.135.183.45":[/^\//i],"61.135.183.46":[/^\//i],"61.135.183.50":[/^\//i],"220.181.61.229":[/^\//i],"220.181.61.212":[/^\//i],"220.181.61.213":[/^\//i],"220.181.19.218":[/^\//i],"220.181.118.181":[/^\//i],"123.126.48.47":[/^\//i],"123.126.48.48":[/^\//i],"123.125.123.80":[/^\//i],"123.125.123.81":[/^\//i],"123.125.123.82":[/^\//i],"vv.video.qq.com":[/^\//i,/^\/getvinfo/i,/^\/getinfo/i,/^\/geturl/i],"tt.video.qq.com":[/^\/getvinfo/i],"ice.video.qq.com":[/^\/getvinfo/i],"tjsa.video.qq.com":[/^\/getvinfo/i],"a10.video.qq.com":[/^\/getvinfo/i],"xyy.video.qq.com":[/^\/getvinfo/i],"vcq.video.qq.com":[/^\/getvinfo/i],"vsh.video.qq.com":[/^\/getvinfo/i],"vbj.video.qq.com":[/^\/getvinfo/i],"bobo.video.qq.com":[/^\/getvinfo/i],"flvs.video.qq.com":[/^\/getvinfo/i],"bkvv.video.qq.com":[/^\/getvinfo/i],"geo.js.kankan.xunlei.com":[/^\//i],"web-play.pptv.com":[/^\//i],"web-play.pplive.cn":[/^\//i],"dyn.ugc.pps.tv":[/^\//i],"v.pps.tv":[/^\/ugc\/ajax\/aj_html5_url\.php/i],"inner.kandian.com":[/^\//i],"ipservice.163.com":[/^\//i],"so.open.163.com":[/^\/open\/info\.htm/i],"zb.s.qq.com":[/^\//i],"ip.kankan.xunlei.com":[/^\//i],"vxml.56.com":[/^\/json\//i],"music.sina.com.cn":[/^\/yueku\/intro\//i,/^\/radio\/port\/webFeatureRadioLimitList\.php/i],"play.baidu.com":[/^\/data\/music\/songlink/i],"v.iask.com":[/^\/v_play\.php/i,/^\/v_play_ipad\.cx\.php/i],"tv.weibo.com":[/^\/player\//i],"wtv.v.iask.com":[/^\/.*\.m3u8$/i,/^\/mcdn\.php$/i],"video.sina.com.cn":[/^\/interface\/l\/u\/getFocusStatus\.php/i],"www.yinyuetai.com":[/^\/insite\//i,/^\/main\/get\-/i],"api.letv.com":[/^\/streamblock/i,/^\/mms\/out\/video\/play/i,/^\/mms\/out\/common\/geturl/i,/^\/geturl/i,/^\/getipgeo$/i],"live.gslb.letv.com":[/^\/gslb\?/i],"ip.apps.cntv.cn":[/^\/js\/player\.do/i],"vdn.apps.cntv.cn":[/^\/api\/get/i,/^\/api\/getLiveUrlCommonApi\.do\?pa:\/\/cctv_p2p_hdcctv5/i,/^\/api\/getLiveUrlCommonApi\.do\?pa:\/\/cctv_p2p_hdcctv6/i,/^\/api\/getLiveUrlCommonApi\.do\?pa:\/\/cctv_p2p_hdcctv8/i,/^\/api\/getLiveUrlCommonApi\.do\?pa:\/\/cctv_p2p_hdbtv6/i],"vdn.live.cntv.cn":[/^\/api2\/liveHtml5\.do\?channel=pa:\/\/cctv_p2p_hdcctv5/i,/^\/api2\/liveHtml5\.do\?channel=pa:\/\/cctv_p2p_hdcctv6/i,/^\/api2\/liveHtml5\.do\?channel=pa:\/\/cctv_p2p_hdcctv8/i,/^\/api2\/liveHtml5\.do\?channel=pa:\/\/cctv_p2p_hdbtv6/i,/^\/api2\/live\.do\?channel=pa:\/\/cctv_p2p_hdcctv5/i,/^\/api2\/live\.do\?channel=pa:\/\/cctv_p2p_hdcctv6/i,/^\/api2\/live\.do\?channel=pa:\/\/cctv_p2p_hdcctv8/i,/^\/api2\/live\.do\?channel=pa:\/\/cctv_p2p_hdbtv6/i],"vip.sports.cntv.cn":[/^\/check\.do/i,/^\/play\.do/i,/^\/servlets\/encryptvideopath\.do/i],"a.play.api.3g.youku.com":[/^\/common\/v3\/play\?/i],"api.3g.youku.com":[/^\/layout/i,/^\/v3\/play\/address/i,/^\/openapi\-wireless\/videos\/.*\/download/i,/^\/videos\/.*\/download/i,/^\/common\/v3\/play/i],"tv.api.3g.youku.com":[/^\/openapi\-wireless\/v3\/play\/address/i,/^\/common\/v3\/hasadv\/play/i,/^\/common\/v3\/play/i],"play.api.3g.youku.com":[/^\/common\/v3\/hasadv\/play/i,/^\/common\/v3\/play/i,/^\/v3\/play\/address/i],"play.api.3g.tudou.com":[/^\/v/i],"tv.api.3g.tudou.com":[/^\/tv\/play\?/i],"api.3g.tudou.com":[/^\//i],"api.tv.sohu.com":[/^\/mobile_user\/device\/clientconf\.json\?/i],"access.tv.sohu.com":[/^\//i],"iface.iqiyi.com":[/^\/api\/searchIface\?/i],"iface2.iqiyi.com":[/^\/php\/xyz\/iface\//i,/^\/php\/xyz\/entry\/galaxy\.php\?/i,/^\/php\/xyz\/entry\/nebula\.php\?/i],"cache.m.iqiyi.com":[/^\/jp\/tmts\//i],"dynamic.app.m.letv.com":[/^\/.*\/dynamic\.php\?.*ctl=videofile/i],"dynamic.meizi.app.m.letv.com":[/^\/.*\/dynamic\.php\?.*ctl=videofile/i],"dynamic.search.app.m.letv.com":[/^\/.*\/dynamic\.php\?.*ctl=videofile/i],"dynamic.live.app.m.letv.com":[/^\/.*\/dynamic\.php\?.*act=canplay/i],"listso.m.areainfo.ppstream.com":[/^\/ip\/q\.php/i],"epg.api.pptv.com":[/^\/detail\.api\?/i],"play.api.pptv.com":[/^\/boxplay\.api\?/i],"m.letv.com":[/^\/api\/geturl\?/i],"3g.music.qq.com":[/^\//i],"mqqplayer.3g.qq.com":[/^\//i],"proxy.music.qq.com":[/^\//i],"ip2.kugou.com":[/^\/check\/isCn\//i],"ip.kugou.com":[/^\/check\/isCn\//i],"client.api.ttpod.com":[/^\/global/i],"mobi.kuwo.cn":[/^\//i],"mobilefeedback.kugou.com":[/^\//i],"tingapi.ting.baidu.com":[/^\/v1\/restserver\/ting\?.*method=baidu\.ting\.song/i],"music.baidu.com":[/^\/data\/music\/links\?/i],"serviceinfo.sdk.duomi.com":[/^\/api\/serviceinfo\/getserverlist/i],"music.163.com":[/^\/api\/copyright\/restrict\/\?/i,/^\/api\/batch$/i],"www.xiami.com":[/^\/web\/spark/i,/^\/web\/.*\?.*xiamitoken=/i],"spark.api.xiami.com":[/^\/api\?.*method=AuthIp/i,/^\/api\?.*method=Songs\.getTrackDetail/i,/^\/api\?.*method=Songs\.detail/i],"iplocation.geo.qiyi.com":[/^\/cityjson$/i],"sns.video.qq.com":[/^\/tunnel\/fcgi\-bin\/tunnel/i],"v5.pc.duomi.com":[/^\/single\-ajaxsingle\-isban/i],"tms.is.ysten.com":[/^:8080\/yst\-tms\/login\.action\?/i],"chrome.2345.com":[/^\/dianhua\/mobileApi\/check\.php$/i],"internal.check.duokanbox.com":[/^\/check\.json/i],"180.153.225.136":[/^\//i],"118.244.244.124":[/^\//i],"210.129.145.150":[/^\//i],"182.16.230.98":[/^\//i]}},_https_map={white:{any:[]},proxy:{any:[],"openapi.youku.com":[/^\//i],"61.135.196.99":[/^\//i],"220.181.185.150":[/^\//i],"111.13.127.46":[/^\//i],"211.151.50.10":[/^\//i],"123.126.99.57":[/^\//i],"123.126.99.39":[/^\//i],"220.181.154.137":[/^\//i],"httpbin.org":[/^\//i]}},_proxy_str=PROXY_unblock;